import { memo } from "react";

import HeaderLeftWrapper from "./style";
import IconLogo from "@/asset/svgs/icon_logo";
import { useNavigate } from "react-router-dom";


const HeaderLeft = memo(
    () => {
       
        const navigate = useNavigate();
   
        return (
            
                <HeaderLeftWrapper>
                <div className="logo" onClick={()=>navigate("/home")}>
                     <IconLogo></IconLogo>
                 </div>
                </HeaderLeftWrapper>
             
        )
    }
)

export default HeaderLeft;